Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_SetFallOff

You can use the Q3SpotLight_SetFallOff function to set the fall-off value of a spot light.

TQ3Status Q3SpotLight_SetFallOff (
TQ3LightObject light, 
TQ3FallOffType fallOff);
light
A spot light object.
fallOff
The desired fall-off value of the specified spot light. See "Light Fall-Off Values" on page 8-10 for a description of the constants that can be passed in this parameter.
DESCRIPTION
The Q3SpotLight_SetFallOff function sets the fall-off value of the spot light specified by the light parameter to the value passed in the fallOff parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996